import datetime


def getDate(day=-1):
    now = datetime.datetime.now()
    sta_date_time = (now + datetime.timedelta(days=day-1)).strftime("%Y-%m-%d 00:00:00")
    end_date_time = (now + datetime.timedelta(days=day)).strftime("%Y-%m-%d 00:00:00")
    date_good = "{0} - {1}".format(sta_date_time, end_date_time)
    return date_good

print('---------%s-----------' % getDate())